home *** CD-ROM | disk | FTP | other *** search
- Path: bcfreenet.seflin.lib.fl.us!bcfreenet!z007400b
- From: z007400b@bcfreenet.seflin.lib.fl.us (Ralph Silverman)
- Newsgroups: comp.lang.c
- Subject: Re: start array at k, not 0
- Date: 23 Jan 1996 20:05:04 GMT
- Organization: SEFLIN Free-Net - Broward
- Message-ID: <4e3f1g$a1v@bcfreenet.seflin.lib.fl.us>
- References: <Pine.OSF.3.91.960104095358.22268B-100000@io.UWinnipeg.ca> <820787486snz@genesis.demon.co.uk> <Pine.OSF.3.91.960105091211.2861B-100000@io.UWinnipeg.ca> <4cpdt3$3b5@newdelph.cig.mot.com>
- NNTP-Posting-Host: bcfreenet.seflin.lib.fl.us
- X-Newsreader: TIN [version 1.2 PL2]
-
- Tim Butler (tbutler@laraby.tiac.net) wrote:
- : miker3@ix.netcom.com (Mike Rubenstein) writes:
- : [ Numerical Recipes method of array indexing referenced ]
- : ....
- : :It's unfortunate that the authors of this book didn't bother to learn
- : :C before writing it. As anyone who has read the FAQ [6.13] knows,
- : :this results in undefined behavior.
- : ...
-
- : They have addressed that in the second edition. To retain the ability
- : to start indexing at one, they "waste" that first element. They
- : allocate one element extra.
-
- : --
- : tim butler
- : tbutler@tiac.net
-
-
- --
- *********begin r.s. response**********
-
- great!!
-
- *********end r.s. response************
- Ralph Silverman
- z007400b@bcfreenet.seflin.lib.fl.us
-
-